Skip to main content

Vector Indexes

Route: indexes Description: Contains a project's Vector Index

Endpoints

Get Index Status

Get the status of the index

Endpoint

https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/getStatus

Parameters (Array)

IndexNameDescriptionType
0indexIdThe id of the indexString

Returns

  • results - IndexStatus

Example

curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
"indexId"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/getStatus"

Search Vector Index

Load the record by id

Endpoint

https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/search

Parameters (Array)

IndexNameDescriptionType
0idThe id of the recordString

Returns

  • results - Array

Example

curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
"id"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/search"